package com.hzeport.bgs22emduty.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.dto.ParamVo;
import com.hzeport.bgs22emduty.entity.ParamGroupDuty;
import com.hzeport.bgs22emduty.vo.base.PageVO;
import com.hzeport.bgs22emduty.vo.paramgroupduty.ParamGroupDutyDto;
import com.hzeport.bgs22emduty.vo.paramgroupduty.ParamGroupDutyListVo;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import com.hzeport.bgs22emduty.common.base.BaseService;

import java.util.List;

/**
 * @author hzeport
 */
public interface ParamGroupDutyService extends BaseService< ParamGroupDuty > {

    BaseResult< Page< ParamGroupDutyListVo > > getPage( PageVO pageVO , UserInfoDetailVO userInfoDetailVO );

    BaseResult< String> saveData( ParamGroupDutyDto dto , UserInfoDetailVO userInfoDetailVO );

    BaseResult< String> delete( ParamGroupDutyDto dto , UserInfoDetailVO userInfoDetailVO );

    BaseResult< List< ParamVo>> getGroupList( UserInfoDetailVO userInfoDetailVO );

    BaseResult< List< ParamVo>> getGroupUser( String groupId );
}
